// O和kr公用样式
.okr-set-records {
  width: 40px;
  height: 26px;
  color: #646a73;
  font-size: 14px;
  line-height: 26px;
  letter-spacing: 1px;
  text-align: center;
  letter-spacing: 0;

  cursor: pointer;
  position: relative;

  &::before {
    content: '';
    display: block;
    width: 48px;
    height: 100%;
    border-radius: 20px;
    background-color: #f0f4ff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
  }

  .okr-set-records-num {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
  }

  .mdsicon {
    color: #3370ff;
    opacity: 0;
    position: absolute;
    right: -5px;
    top: 0;
    line-height: 26px;
  }

  // &:hover {
  //   color: #3370ff;

  //   &::before, .mdsicon {
  //     opacity: 1;
  //   }
  // }
}

.KR-item:hover {
  .okr-set-records {
    color: #3370ff;

    &::before, .mdsicon {
      opacity: 1;
    }
  }
}

.objective-wrap:hover {
  .okr-set-records {
    color: #3370ff;

    &::before, .mdsicon {
      opacity: 1;
    }
  }
}